package controllers

import (
	"github.com/gin-gonic/gin"
	"shimmer/neusoft_club_backend/controllers/assets"
	"shimmer/neusoft_club_backend/controllers/authorize_controller"
	"shimmer/neusoft_club_backend/controllers/club_controller"
	"shimmer/neusoft_club_backend/controllers/form_controller"
	"shimmer/neusoft_club_backend/controllers/invite_controller"
	"shimmer/neusoft_club_backend/controllers/message_controller"
	"shimmer/neusoft_club_backend/controllers/registry_controller"
	"shimmer/neusoft_club_backend/controllers/user_controller"
)

func ConfigureControllers(r *gin.RouterGroup) {
	{
		testGroup := r.Group("/test")
		ConfigTestController(testGroup)
	}
	{
		authorizeGroup := r.Group("/authorize")
		authorize_controller.ConfigAuthorizationController(authorizeGroup)
	}
	{
		registryGroup := r.Group("/registry")
		registry_controller.ConfigRegistryController(registryGroup)
	}
	{
		clubGroup := r.Group("/club")
		club_controller.ConfigureClubController(clubGroup)
	}
	{
		formGroup := r.Group("/form")
		form_controller.ConfigureFormController(formGroup)
	}
	{
		assetsGroup := r.Group("/assets")
		assets.ConfigureAssetsController(assetsGroup)
	}
	{
		userGroup := r.Group("/user")
		user_controller.ConfigureUserController(userGroup)
	}
	{
		inviteGroup := r.Group("/invite")
		invite_controller.ConfigInviteController(inviteGroup)
	}
	{
		messageGroup := r.Group("/message")
		message_controller.ConfigureMessageController(messageGroup)
	}
}
